package EveryDayPractice;
import java.math.*;
public class Practice13 {
     public static void main(String[] args) {
         for(int i=0;i<=100000;i++)
         {
             int count=0;
             for(int j=0;j<=100000;j++)
             {
                 if(j==Math.sqrt(i+100))
                 {
                     count++;
                 }
                 if(j==Math.sqrt(i+268))
                 {
                     count++;
                 }
             }
         if(count==2)
         {
             System.out.println(i);
         }
         }
     }
}
